import enUS from 'ant-design-vue/es/locale-provider/en_US'
import { securityConfigurationEn } from '@/locales/modules/authenticationCenter/securityConfiguration'

export default {
  antLocale: enUS,
  common: {
    username: 'Username',
    password: 'Password',
    view: 'View',
    new: 'New',
    edit: 'Edit',
    modify: 'Modify',
    update: 'Update',
    delete: 'Delete',
    remove: 'Remove',
    moveUp: 'Move up',
    moveDown: 'Move down',
    import: 'Import',
    export: 'Export',
    batchDel: 'Batch delete',
    batchImport: 'Batch import',
    batchExport: 'Batch export',
    batchActions: 'Batch actions',
    undo: 'Undo',
    redo: 'Redo',
    search: 'Search',
    query: 'Query',
    reset: 'Reset',
    yes: 'Yes',
    no: 'No',
    ok: 'OK',
    cancel: 'Cancel',
    submit: 'Submit',
    back: 'Back',
    forward: 'Forward',
    login: 'Login',
    logout: 'Logout',
    account: 'Account',
    field: 'Field',
    value: 'Value',
    name: 'Name',
    classification: 'Classification',
    subclass: 'Sub classification',
    number: 'Number',
    property: 'Property',
    description: 'Description',
    comment: 'Comment',
    action: 'Action',
    type: 'Type',
    status: 'Status',
    time: 'Time',
    date: 'Date',
    pMonth: 'Month',
    pYear: 'Year',
    file: 'File',
    fileName: 'File name',
    folder: 'Folder',
    parentFolder: 'Parent Folder',
    size: 'Size',
    createTime: 'Create time',
    updateTime: 'Update time',
    modifyTime: 'Modify time',
    startTime: 'Start time',
    endTime: 'End time',
    start: 'Start',
    finish: 'Finish',
    enable: 'Enable',
    enabled: '启用', // 形容词
    disable: 'Disable', // v.
    disabled: 'Disabled', // adj.
    open: '开启',
    close: '关闭',
    opened: '已开启',
    closed: '已关闭',
    normal: 'Normal', // adj.
    inUse: 'In use',
    expand: 'Expand',
    collapse: 'Collapse',
    setting: 'Setting',
    qrCode: 'QR Code',
    tip: 'Tip',
    info: 'Info',
    error: 'Error',
    warning: 'Warning',
    test: 'Test',
    emptyErr: '{name} cannot be empty',
    illegalErr: 'Please enter a valid {name}',
    delWarning: 'Are you sure to delete this {name}?',
    batchDelWarning: 'Are you sure to delete these {name}s?',
    all: 'All',
    color: 'Color',
    icon: 'Icon',
    title: 'Title',
    more: 'More',
    administrator: 'Administrator',
    upload: 'Upload',
    download: 'Download',
    copy: 'Copy',
    move: 'Move',
    copyTo: 'Copy to',
    moveTo: 'Move to',
    sort: 'Sort',
    Sortby: 'Sort by {name}',
    rename: 'Rename',
    clickToDl: 'Click to download',
    plzChoose: 'Please choose',
    plzEnter: 'Please input something',
    year: 'Year',
    month: 'Month',
    day: 'Day',
    hour: 'Hour',
    min: 'Minute',
    sec: 'Second',
    times: '次',
    tenThousand: 'Ten thousand',
    index: 'Index',
    succeeded: 'Succeeded', // v.
    failed: 'Failed', // v.
    result: 'Result',
    add: 'Add',
    accessory: 'Accessory',
    customized: 'Customized',
    save: 'Save',
    totalCount: 'Total count',
    detail: 'Detail',
    default: 'Default',
    address: 'Address',
    identification: 'Identification',
    help: 'Help',
    privacy: 'Privacy',
    policy: 'Policy',
    cprText: 'Harmon Co., Ltd',
    administrator: 'Administrator',
    groupAdministrator: 'Group administrator',
    member: 'Member'
  },
  modules: {
    common: {
      externalApp: 'External Application',
      internalApp: 'Internal Application',
      busiApp: 'Business Application',
      basicService: 'Basic Service',
      sysService: 'System service',
      wechatWork: 'Wechat Work',
      dingding: 'DingDing'
    },

    menu: {
      index: 'Home',
      settings: 'Enterprise Info',
      baseSettings: 'Basic Info',
      authSettings: 'Login Method',
      msgSettings: 'Notification Setting',
      sysInfo: 'System Info',
      companyWxConfig: 'Wechat Work Setting',
      mailConfig: 'Mail Setting',
      applications: 'App Manage',
      applicationItem: 'App Info',
      applicationList: 'App List',
      baseDataConfig: 'Platform Basic Data Setting',
      messageConfig: 'Notification Setting',
      appSysInfo: 'System Info',
      appCompanyWxConfig: 'Wechat Work Setting',
      appMailConfig: 'Mail Setting',
      users: 'Platform Manager',
      user: 'User Info',
      usersList: 'Platform Manager',
      account: 'User Center',
      accountBase: 'Basic Info',
      accountSecurity: 'Security Setting',
      accountShiftConfig: 'Shift Config',
      changePw: 'Change password',
      config: 'Config',
      menu: 'Menu',
      menuConfig: 'Menu config',
      roleConfig: 'Role config',
      role: 'Role',
      roleDetail: 'Role detail',
      userGroup: 'User group'
    },

    app: {
      app: 'App',
      appName: 'App name',
      appType: 'App type',
      appIntro: 'App intro',
      visitUrl: 'Visit url',
      enterpriseLogo: 'Enterprise logo',
      appLogo: 'App logo',
      thumbnail: 'Thumbnail',
      loginBgi: 'Login background image',
      recommendImg: 'A {format} picture file with resolution of {resolution} and less than {size} is recommended',
      uploading: 'Uploading',
      changeLogo: 'Change logo',
      uploadEnterpriseLogo: 'Please upload enterprise logo',
      uploadAppLogo: 'Please upload app logo',
      uploadLoginBgi: 'Please upload login background image',
      visibleRange: 'Visible range',
      loginByAccount: 'Login by account',
      loginByQr: 'Login by scan QR',
      loginByHid: 'Login by HID',
      qrType: 'QR type',
      newApp: 'New app',
      shiftSetting: 'Shift setting',
      tempSetting: 'Template setting',
      period: 'Period'
    },

    user: {
      newUser: 'New user',
      loginByAccount: 'Login by account',
      logoutInfo: 'Are you sure to logout?',
      waitForCard: '等待刷卡',
      invalidArea: 'Invalid area',
      otherLoginMethod: 'Other login methods',
      personName: 'Name',
      jobNumber: 'Job number',
      phoneNumber: 'Phone number',
      position: 'Position',
      gender: 'Gender',
      email: 'E-mail',
      dept: 'Department',
      superiorDept: 'Superior department',
      hidNo: 'HID number',
      oldPass: 'Old password',
      newPass: 'New password',
      confirmPass: 'Confirm password',
      male: 'Male',
      female: 'Female',
      onJob: 'On job',
      resigned: 'Resigned'
    },

    config: {
      // 菜单权限配置
      newMenuPerm: 'New menu perm',
      editMenuPerm: 'Edit menu perm',
      configActionBtn: 'Actions button config',
      title: 'Menu name',
      componentName: 'Component name',
      hideChildrenInMenu: 'Hide children in menu',
      meta: 'Meta',
      menuConfig: 'Menu config',
      parentId: 'Parent Id',
      parentMenu: 'Parent menu',
      path: 'Path',
      redirect: 'Redirect',
      serialNum: 'SerialNum',
      permissionName: 'Permission name',
      uniqueCode: 'Unique code',
      actions: 'Actions',
      bindAction: 'Bind action',
      grant: 'Grant',

      // 动作
      newAction: 'New action',
      editAction: 'Edit action',
      actionTag: 'Action tag',
      actionName: 'Action name',

      // 角色管理
      role: 'Role',
      roleDetail: 'Role detail',
      roleName: 'Role name',
      permissionInfo: 'Permission info',
      operablePermission: 'Operable permission',

      // 用户组
      userGroup: 'User group',
      createSubUserGroup: 'Create sub user group',
      editUserGroup: 'Edit user group',
      delUserGroup: 'del user group',
      selectAdmin: 'Select admin',
      selectMember: 'Select member',
      orgnization: 'Orgnization',
      allRoles: 'All roles',
      visibleRange: 'Visible range',
      visibleRangeTip: 'In the system, the user has the right to view the scope, if not set, no view content',
      operableRange: 'Oerable range',
      operableRangeTip: 'Users in the system have access to the scope of management',
      allRange: 'All range'
    },
    securityConfiguration: securityConfigurationEn
  }
}
